package com.irs.irsforum.mapper;

import com.irs.irsforum.entity.Problem;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yihuili
 * @since 2020-02-13
 */
@Mapper
public interface ProblemMapper extends BaseMapper<Problem> {

    List<Problem> getProblemBySubject(@Param("subjectId") Long subjectId);
}
